//
//  HotCityCell.m
//  WhereToTravel
//
//  Created by dlios on 15/10/15.
//  Copyright © 2015年 zhoushengmin. All rights reserved.
//

#import "HotCityCell.h"
#define W self.contentView.frame.size.width/170
#define H self.contentView.frame.size.height/100
@implementation HotCityCell
- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        [self createView];
    }
    return self;
}

- (void)createView {
    self.bomImageView = [[UIImageView alloc]initWithFrame:CGRectMake(0, 0, self.contentView.frame.size.width, self.contentView.frame.size.height)];
    [self.contentView addSubview:self.bomImageView];
    self.labelcn = [[UILabel alloc] init];
    self.labelcn.frame = CGRectMake(W*20, H*55, W*120, H*20);
    self.labelen = [[UILabel alloc] init];
    self.labelen.frame = CGRectMake(W*20, H*75, W*120, H*20);
    self.labelcn.textColor = [UIColor whiteColor];
    self.labelen.textColor  = [UIColor whiteColor];
    [self.bomImageView addSubview:self.labelcn];
    [self.bomImageView addSubview:self.labelen];
}



@end
